const express = require('express');
// const userCrt = require('../controller/userCrt');
// const viewsCrt = require('../controller/viewsCrt');
// const childrenRouter = require('./childrenRouter');
const bookmark = require('../controller/bookmark.js');

// express有提供一个顶级的路由模块。直接使用
const router = express.Router();


router.get('/', bookmark.index)
router.get('/index', bookmark.index)
router.get('/getlist', bookmark.getlist)
router.get('/getFileContent', bookmark.getFileContent)

module.exports = router